package preprocess;

public class CityStats {
	public String city;
	public String state;
	public String activity;
	public int[] nu;
	public int[] nt;
	public int population;
	
	public CityStats(String city, String state, String activity, String population) {
		this.city = city;
		this.state = state;
		this.activity = activity;
		this.population = Integer.parseInt(population);	
		nu = new int[4];
		nt = new int[4];
	}
	
	public String toString() {
		return city + " (" + state + "), " + activity + ":\n"+
			   "population: "+population+"\n"+
			   "nusers: "+nu[0]+","+nu[1]+","+nu[2]+","+nu[3]+"\n"+
			   "ntracks: "+nt[0]+","+nt[1]+","+nt[2]+","+nt[3]+"\n";
	}
	
}
